<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>{if mocod()=='index.main'}
	{conf index_title}
	{else}
	{echo ($this->Title != '') ? $this->Title.' - ' : (ini('cplace.cnpre.enabled') ? (logic('misc')->City('name').ini('settings.tuangou_str').' - ') : '')}{ini:settings.site_name}{conf page_title}
{/if}</title>
	<meta name="Keywords" content="{~ini('settings.'.(mocod()=='index.main'?'index_':'').'meta_keywords')}" />
<meta name="Description" content="{~ini('settings.'.(mocod()=='index.main'?'index_':'').'meta_description')}{if $__p = productCurrentView()},{echo strip_tags($__p['intro'])}{/if}" />
	<!-- css -->
	<!--{~ui('loader')->css('@pintuer')}-->
	<!--{~ui('loader')->css('common_hui')}-->
	
	<!-- js -->
	<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <!--{~ui('loader')->js('@respond')}-->
    <![endif]-->
	<!--[if IE 7]>
	<link href="http://www.bootcss.com/p/font-awesome/assets/css/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
	<![endif]-->
	
	 
	{echo '<!-'.'-[if IE 6]>'}
	{~ui('loader')->js('DD_belatedPNG')}
	<script>DD_belatedPNG.fix('.pngfix');</script> 
	{echo '<![endif]-'.'->'}
	{if false==DEBUG}
	{~ui('loader')->js('@error.clear')}
	{/if}
	 {~'<base h'.'ref="'.ini('settings.site_url').'/" />'}
    <link rel="shortcut icon" href="favicon.ico" />
   
</head>
<body>
<!-- head start -->
<!--[if lt IE 8]>
<div class="container margin-bottom">
<div class="alert alert-yellow"><span class="close"></span><strong>注意：</strong>您的浏览器版本过低,无法正常体验本站,请下载ie8或以上IE浏览器或者360,搜狗,猎豹等其他双核浏览器</a>。</div>
</div>
 <![endif]-->
 
<div class="topnav">
  <div class="container">
    <div class="float-left">{eval $kf=ini('data.cservice')}
    	 	
             	   服务热线:<strong style="color: #C9033B;"> {$kf['phone']}</strong> </div>
    <div class="float-right">
	    <!--{if MEMBER_ID > 0}-->
	    <span class="r_nav">欢迎您，<font class="text-sub">{MEMBER_NAME}</font></span>
	    {if $this->MemberHandler->HasPermission('index',"",1) === true}
		 <span class="r_nav"><a href="admin.php" target="_blank">管理后台</a></span><span class="pipe">&nbsp;|</span>
		{/if}
	   	{if MEMBER_ROLE_ID==6}
		 <span class="r_nav"><a href="?mod=seller">商家管理</a></span><span class="pipe">&nbsp;|</span>
		{/if} 
		<span class="r_nav drop" id="top_drop"><a href="javascript:void(0)">我的{TUANGOU_STR}</a><span class="arrow"></span>
			<ul class="drop-menu">
				 				<li><a href="?mod=me&code=coupon">我的{TUANGOU_STR}券</a></li>
				  				<li><a href="?mod=me&code=order">我的订单</a></li>
				  				<li><a href="?mod=me&code=bill">收支明细</a></li>
				  				<li><a href="?mod=me&code=favorite">我的收藏</a></li>
				  				<li><a href="?mod=me&code=setting">账户设置</a></li>
				  				<li><a href="?mod=me&code=address">收货地址</a></li>
				  				<li><a href="?mod=recharge">账户充值</a></li>
				  				<li><a href="?mod=me&code=credit">我的积分</a></li>
			 </ul>
		</span>	
	    <!--{else}-->
	    <span class="r_nav">您好！欢迎您的到来。</span>
	    <span class="r_nav"><a href="?mod=account&code=login">登录</a></span>
	     <span class="r_nav"><a href="?mod=account&code=register">注册</a> </span>
	    <!--{/if}-->
	      
     
    </div>
  </div>
</div>

<div class="header container padding-top padding-bottom box-size">
	<div class="line">
		<div class="x4">
			<div class="logo float-left">
				<a  href="./"><img class="img-responsive pngfix" src="templates/xqw/images/logo.png" alt="行骑网"/></a> 
			</div>
			<div class="head-city margin-left  margin-big-top float-left">
				<div class="current-city text-default"><strong>{~logic('misc')->City('name')}</strong></div>
				<div class="qiehuan-city"><a class="text-sub"  href="/home/citylist">切换城市</a></div>
			</div>
		</div>
		<div class="x5  margin-big-top search-box">
			<div class="search-box__tabs-container box-size" id="search-box-tabs">
				<span class="tri"></span>
				<ul class="J-search-box__tabs search-box__tabs" >                
                <li class="search-box__tab J-search-box__tab--deal search-box__tab--current" onclick="front_search_select('product')">商品</li>
				<li class="search-box__tab J-search-box__tab--shops" onclick="front_search_select('seller')">商家</li>
            </ul>
			</div>
			<input type="text" class="input search-input box-size" id="search-txt" name="w" size="50" value="{$kw}" {if $_GET['mod']=='seller'}placeholder="请输入商家名称"{else}placeholder="请输入商品名称"{/if} onkeyup="if (event.keyCode == 13) front_search_request();"/>
			<input type="submit" onclick="front_search_request()" class="s-submit search-box__button" value="搜&nbsp;&nbsp;索">
		</div>
		<div class="x3 " id="headererweima">
			<div class="qrcode float-right">
			  <a href="javascript:void(0);" onclick="header_closediv('headererweima');" class="close"></a>
			   	<img src="static/images/erweima.jpg" class="img-responsive img-border" alt="手机客户端" />
			</div>
		</div>
	</div>

</div>

<script type="text/javascript">

			var front_seller_base = "{echo logic('url')->create('seller', array('mod' => 'seller', 'kw' => 'xqw'))}";
			var front_product_base = "{echo logic('url')->create('search', array('mod'=>'search','kw' => 'xqw'))}";
			var front_search_base = front_product_base;
			function front_search_request(){
				window.location = front_search_base.replace('xqw', encodeURIComponent($('#search-txt').val()));
			}
			function front_search_select(val){

				if(val=='product'){
					front_search_base = front_product_base;
					$('#search-txt').attr('placeholder','请输入商品名称等');
					$('.J-search-box__tab--shops').removeClass("search-box__tab--current");
					$('.J-search-box__tab--deal').addClass("search-box__tab--current");
					$('.J-search-box__tab--deal').insertBefore($('.J-search-box__tab--shops'));
				}else{
					front_search_base = front_seller_base;
					$('#search-txt').attr('placeholder','请输入商家名称等');
					$('.J-search-box__tab--deal').removeClass("search-box__tab--current");
					$('.J-search-box__tab--shops').addClass("search-box__tab--current");
					$('.J-search-box__tab--shops').insertBefore($('.J-search-box__tab--deal'));
					
				}
				$('#search-box-tabs').removeClass("search-box__tabs-container--over")
				
			}
			
</script>


<div class="navbar container-layout bg-red">	
	<div class="container">	
		<nav class="mainnav cl">
		  	<ul class="cl">
		   {loop $this->Config['__navs'] $i $nav}
<li><a href="{$nav['url']}" title="{$nav['title']}" target="{$nav['target']}" class="{$nav['class']}">{$nav['name']}</a>
{if $nav['url']=="http://mall.xq517.com"}
<img src="static/images/hot.gif" style="position:absolute;background:none;right:0px;top:-5px;">
{/if}
</li>
{/loop}			 	
		  	</ul>
		</nav>
	
	</div>
</div>

<!-- head end -->



<!-- content start -->
<!--{~ui('loader')->css('catalog')}-->
<div class="container margin-top search-result bg-yellow-light border-yellow text-center" >
	找到“<font class="text-dot">{$kw}</font>”相关的商品如下
</div>
<div class="container margin-top border padding-top padding-bottom" >
<!--{~logic('city')->place_navigate()}-->
</div>
<!-- content end -->












<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<!--{~ui('loader')->js('@pintuer')}-->
 <!--{~ui('loader')->js('common')}-->	
 </body>
</html>